using System.Collections.Generic;

namespace Infrastructure.DataManagement
{
    public interface IRepository<T>
    {
        T GetById(int id);
        IEnumerable<T> GetAll();

        void Save(T entity);
        void Delete(T entity);
    }
}